#include <stdio.h>

int main() {
	int year = 0;

	printf("Please enter your year:");
	scanf("%d", &year);

	int a = year % 400;

	if (a == 0) {
		printf("This year is a leap year.");
	} else {
		int b = year % 4;
		int c = year % 100;

		if (b == 0 & c != 0) {
			printf("This year is a leap year.");
		} else {
			printf("This year is not a leap year.");
		}
	}
	return 0;
}
